package com.tms.mapper.develop;

import com.tms.domain.Scrap;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScrapMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Scrap record);

    int insertSelective(Scrap scrap);

    Scrap selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scrap record);

    int updateByPrimaryKey(Scrap record);

    List<Scrap> selectAlls(@Param(value = "status") int status, @Param(value = "workcellId") int workcellId);
}